from math import *

def CtoF(C):
    F = C*1.8 + 32
    return F

def FtoC(F):
    C = (F-32)/1.8
    return C


temprature = eval(input("请输入摄氏度的温度值："))
print("{}°C={}°F".format(temprature, ceil(CtoF(temprature))))
